package com.cskaoyan.bean.vo.admin.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author erdonc
 * @date 2022/9/7 17:10
 * @description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MarketAdminCreatVo {

    /**
     * id : 38
     * username : zhaomin
     * password : $2a$10$.Z6DX9yyyXTF6u5dscwVC..BQoo2L0W03y69YHZ7tvo13wJNZOYrW
     * avatar : http://182.92.235.201:8083/wx/storage/fetch/d1q60ml8vq9vfew6v526.jpg
     * addTime : 2022-09-07 20:22:58
     * updateTime : 2022-09-07 20:22:58
     * roleIds : [2,3]
     */

    private Integer id;
    private String username;
    private String password;
    private String avatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private Integer[] roleIds;

}
